<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:61:"/www/wwwroot/lc/application/admin/view/operate/uparticle.html";i:1553234650;s:54:"/www/wwwroot/lc/application/admin/view/public/top.html";i:1553234650;s:54:"/www/wwwroot/lc/application/admin/view/public/ued.html";i:1553234650;}*/ ?>



<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
<link href="/public/admin/login/css/public.css" type="text/css" rel="stylesheet">
<link href="/public/admin/login/css/style.css" type="text/css" rel="stylesheet">

<script type="text/javascript" src="/public/index/js/jquery.js"></script>
<script src="/public/admin/login/js/admin.js"></script>
<script src="/public/admin/login/js/jquery-ui.min.js"></script>
</head>
<body>
<style>
.pagination li{
float:left;
}
</style>

 <link href="/public/Ueditor/themes/default/css/umeditor.css" type="text/css" rel="stylesheet">
 <script type="text/javascript" src="/public/Ueditor/third-party/jquery.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="/public/Ueditor/umeditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="/public/Ueditor/umeditor.min.js"></script>
    <script type="text/javascript" src="/public/Ueditor/lang/zh-cn/zh-cn.js"></script>


<div class="pad">
          <div class="breadNav">
          	<div class="flt breadNav_text">
            <span>会员</span><i></i><span>会员管理</span><i></i><span>编辑分类</span>
           
            </div>
          </div>
		<form  action="" method="post"  enctype="multipart/form-data">
           <div class="daemonTable">
              	<table class="table_data" cellpadding="0" cellspacing="0">
                     <tbody>
					 <tr>
                        <th class="alginRt w-200"><font class="pointcl">*</font> 标题 </th>
                        <td>
                        	<input type="text" name="titlef" value="<?php echo $list['titlef']; ?>" class="text w-400"  >
							<input type="hidden" name="id" value="<?php echo $list['id']; ?>" class="text w-400"  >
                        </td>
                    </tr>
					<tr>
                        <th class="alginRt w-200"><font class="pointcl">*</font> 分类 </th>
                        <td>
                        	<select id="" name="flid" class="text">
							
                              
								<?php if(is_array($fl) || $fl instanceof \think\Collection || $fl instanceof \think\Paginator): $i = 0; $__LIST__ = $fl;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                                <option value="<?php echo $vo['id']; ?>"<?php if($list['flid'] == $vo['id']): ?>selected<?php endif; ?>  ><?php echo $vo['title']; ?></option>
								<?php endforeach; endif; else: echo "" ;endif; ?>                           </select>
							
                        </td>
                    </tr>
					<tr>
                        <th class="alginRt w-200"><font class="pointcl">*</font> 内容 </th>
                        <td>
                        	<input type="hidden" name="type" value="" id='cssfdd' class="text w-200">
      <script type="text/plain" id="myeditorsss" style="width:1000px;">
       <?php echo $list['type']; ?>
      </script>
                        </td>
                    </tr>
                   
                   
                    
                      <tr>
                        <th class="alginRt w-100"> </th>
                        <td>
                        <input type="submit" value="确认保存" class="pub_btn">
                        </td>
                      </tr>
                </tbody></table>
           </div>
        </form>  

     

<div class="theme-popover">   
</div>
<div class="theme-popover-mask"></div>

</div>

<script type="text/javascript">
    //实例化编辑器
  $(function(){
   var um = UM.getEditor('myeditorsss');
	
    um.addListener('blur',function(){
		console.log(UM.getEditor('myeditorsss').getContent());
        $('#cssfdd').val(UM.getEditor('myeditorsss').getContent());
		
    });
	 $('#cssfdd').val(UM.getEditor('myeditorsss').getContent());
  
  })
   
	 </script>
</body></html>